#pragma once
#include "State/GameState.h"
namespace LTGame
{
	class ST_CG
		:public GameState
	{
	public:
		ST_CG(GST_FLAG flag);
		~ST_CG();
		bool logic(void);
		void paint(void);
		void playCG1Over();
		void playCG2Over();
	public:
		virtual void ccTouchEnded(CCTouch *pTouch, CCEvent *pEvent);
		virtual bool ccTouchBegan(CCTouch *pTouch, CCEvent *pEvent);
	private:
		cocos2d::CCSprite* img_cg;
		cocos2d::CCSprite* img_cg1;
		int cgIndex;
		int commer_timer;
	};
}